projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0630265
)
* nsfont.m (nsfont_make_fontset_for_font): Avoid a compiler warning.
author
Adrian Robert
<Adrian.B.Robert@gmail.com>
Mon, 18 May 2009 08:02:06 +0000
(08:02 +0000)
committer
Adrian Robert
<Adrian.B.Robert@gmail.com>
Mon, 18 May 2009 08:02:06 +0000
(08:02 +0000)
src/nsfont.m
patch
|
blob
|
history
diff --git
a/src/nsfont.m
b/src/nsfont.m
index a6ea48430672ce3419d44066498dc8cf3c40e2ab..bb9754c8b6e7c2da8f5ba5364b6df0444c3a046b 100644
(file)
--- a/
src/nsfont.m
+++ b/
src/nsfont.m
@@
-1229,7
+1229,7
@@
void nsfont_make_fontset_for_font (Lisp_Object name, Lisp_Object font_object)
these, calling set_fontset_font generates an abort. Try to
guess which ones these are and avoid it. */
if (strstr (SDATA (SYMBOL_NAME (scripts[i])), "mathematical-")
- != SDATA (SYMBOL_NAME (scripts[i])))
+ !=
(char *)
SDATA (SYMBOL_NAME (scripts[i])))
Fset_fontset_font (name, scripts[i], famAndReg, Qnil, Qnil);
free (family);
}